home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / progs / editor / frexxed / fpl / zmacs.fpl.readme < prev   
Text File  |  1996-01-02  |  6KB  |  173 lines

  1. #############################################################################
  2. File:        ZMacs.FPL
  3. Author:        Jesper Skov
  4. Email:        jskov@iesd.auc.dk
  5. Short:        Will do an Emacs-like keymap assignment
  6. Version:    1.11
  7. Date:        31.12.95
  8. Local settings:
  9. Global settings:
  10. Keysequence:    See below
  11. Type:        key
  12. Prereq:        FrexxEdMain.FPL
  13. Copyright:    © 1994-1996, Jesper Skov
  14. #############################################################################
  15.  
  16. FUNCTION
  17.   This FPL program will give FrexxEd some of the same keyboard bindings found
  18.   in GNU Emacs. If you do not use Emacs on a regular basis you will most
  19.   likely find me (and other Emacs freaks) totally insane... But what can I
  20.   say? I'm an addict :)
  21.  
  22.   External Emacs support files:
  23.    * IncSearch:          Incremental search as you know it from Emacs.
  24.               Room for improvements, though :)
  25.    * CompleteWord:    Dynamic Abbrev Expansion - A must for freaks/addicts =)
  26.    * NumericArgument: Repeated function calls/ calls with argument.
  27.  
  28.   Change the MetaKey in Customizing->Globals->System. You will have to quit
  29.   and restart FrexxEd to see the effect (remember to save first :)
  30.  
  31.   You will find the bindings below (M = <definable>, C = control)
  32.  
  33.   Version    Key-binding    Function               Non standard
  34.   -------------------------------------------------------------------------
  35.   **************************** Cursor movement ****************************
  36.   1.0        C-V        Page up                    X
  37.   1.0        M-v        Page up
  38.   1.0        C-v        Page down
  39.   1.0        C-a        Start-of-line
  40.   1.0        C-e        End-of-line
  41.   1.0        C-x o        Next view
  42.   1.0        C-x O        Previous view                X
  43.   1.0        C-c g        Goto line                X
  44.   1.0        M-<        Goto start of buffer
  45.   1.0        M->        Goto end of buffer
  46.   1.1        C-f        Right
  47.   1.1        M-f        Word right
  48.   1.1        C-b        Left
  49.   1.1        M-b        Word left
  50.   1.1        C-n        Line down
  51.   1.1        C-p        Line up
  52.  
  53.   ****************************     Editing     ****************************
  54.   1.0        C-k        Kill line (delete to end-of-line)
  55.   1.0        C-K        Kill line (all of it :)            X
  56.   1.0        shift Del    Delete to EOL                X
  57.   1.0        shift Bs    Delete to SOL                X
  58.   1.1        C-d        Delete character
  59.   1.1        M-d        Delete word
  60.   1.1        M-bs        Delete word backwards
  61.   1.1        M-s        Center line (or block if marked)
  62.   1.2        C-x u        Undo (one step)
  63.   1.2        C-t        Transpose chars
  64.   1.9        M-q        Fill text paragraph
  65.  
  66.   ****************************  Block control  ****************************
  67.   1.0        C-spc        Set mark
  68.   1.0        C-W        Copy block                X
  69.   1.0        M-w        Copy block
  70.   1.0        C-w        Cut block
  71.   1.0        C-y        Paste block
  72.   1.10        M-y        Yank pop
  73.  
  74.   ****************************  Macro control  ****************************
  75.   1.2        C-x (        Start macro record
  76.   1.2        C-x )        End macro record (also on Esc)
  77.   1.2        C-x e        Play macro
  78.  
  79.   ****************************  Buffer control ****************************
  80.   1.0        C-x C-s        Save buffer
  81.   1.0        C-x C-w        Write buffer (save as...)
  82.   1.0        C-x C-f        Find file
  83.   1.0        C-x 4 f        Find file new view
  84.   1.0        C-x k        Kill buffer (no double return! :)
  85.   1.0        C-x C-c        Kill FrexxEd (quit)
  86.   1.0        C-x b        Goto buffer
  87.   1.0        C-x 4 b        Goto buffer new view
  88.   1.2        C-x i        Insert file
  89.  
  90.   ****************************   View control  ***************************
  91.   1.0        C-x 1        Maximize view
  92.   1.0        C-x 0        Maximize other view
  93.   1.0        C-x 2        Split view
  94.   1.2        C-l        Center view
  95.  
  96.   ***************************** Folder control ****************************
  97.   1.6        C-c C-s        Show
  98.   1.6        C-c C-S e    Show exclusive                X
  99.   1.6        C-c C-S a    Show all                X
  100.   1.6        C-c C-S d    Delete fold                X
  101.   1.6        C-c C-h        Hide
  102.   1.6        C-c C-H e    Hide exclusive                X
  103.   1.6        C-c C-H a    Hide all                X
  104.   1.6        C-c C-H n    Make new fold                X
  105.  
  106.   *************************** Search and Replace  *************************
  107.   1.3        M-%        (FrexxEd) Replace
  108.   1.8        C-S        Continue FrexxEd search forwards    X
  109.   1.8        C-R        Continue FrexxEd search backwards    X
  110.  
  111.   ****************************  Miscellaneous  ****************************
  112.   1.0        M-x        Command prefix (FrexxEd prompt)
  113.   1.2        C-z        Iconify
  114.   1.3        C-x f        Set wall_right (check WordWrap)
  115.   1.11        C-x d        DirED
  116.  
  117.  
  118. HISTORY (rev)
  119.   31.12.95 (11) Added short cut for DirED.
  120.  
  121.   01.10.95 (10)    Added kill ring (yank pop). The kill ring has a static size
  122.         of 16 entries.
  123.  
  124.   11.09.95 (9)    Added text fill (external routine).
  125.  
  126.   21.07.95 (8)    Added FrexxEd continued search.
  127.  
  128.   31.05.95 (7)    Stole replace-code from menu.FPL.
  129.  
  130.   30.05.95 (6)    Added folder control key bindings.
  131.  
  132.   08.03.95 (5)    Removed search key bindings. Now set locally in IncSearch.
  133.  
  134.   01.03.95 (4)    MetaKey is now configurable via the customizing settings.
  135.  
  136.  
  137.   25.02.95 (3)    kill_line.FPL (by Daniel Stenberg) included in ZMacs.
  138.         M-d, M-bs and C-k now works with the same activation counter
  139.          (like Emacs) so that a mixed activation set of the three will
  140.          cut text to the same buffer, thus enabling you to yank all
  141.          of it back... A bit hard to explain. Give it a try!
  142.         Bug in center block fixed.
  143.         New group added - search/replace.
  144.         Set wall_right added... Now we just have to wait for some wit
  145.          (you?) to program a "fill paragraph" command.
  146.         Fixed small bug in Transpose chars.
  147.  
  148.  
  149.   09.02.95 (2)    You may now specify the meta key by changing the ZMacs.FPL
  150.           file (default is Amiga keys).
  151.         DeleteWord/BackspaceWord now use the yank-buffer.
  152.         Code cleaned up.
  153.         Added some new keys.
  154.         Jump to line now on C-c g (goto line).
  155.  
  156. BUGS
  157.   You will find many bindings which does not match the Emacs equivalent
  158.   (e.g. Kill-buffer) completely. I will not change these little differences
  159.   because that's what makes the Amiga (and FrexxEd :) special... Some other
  160.   things can even be impossible to make in FrexxEd (at the time being that 
  161.   is ;)
  162.  
  163. TODO
  164.   See ZMacs.FPL for ideas.
  165.  
  166. SEE ALSO
  167.   CompleteWord.FPL
  168.   FillText.FPL
  169.   IncSearch.FPL
  170.   NumericArgument.FPL
  171.   WordWrap.FPL
  172.   John Varley's "Millennium" (ISBN 0-441-53183-0)
  173.